@charset "utf-8";
/**
* 功能：表单元素示例
**/
html,body {
    font: 16px sans-serif;
    color: #555;
    padding-bottom: 100px;
}
h1 {
    text-align: center;
}
form {
    width: 480px;
    margin: 0 auto;
}
form > div {
    padding-top: 20px;
    position: relative;
}
input,select,button,textarea {
    font: 15px sans-serif;
}
input:not([type="radio"]),input:not([type="checkbox"]) {
    width: 340px;
    padding: 6px;
    border: 1px solid #aaa;
    border-radius: 3px;
    font-size: 18px;
    color: #666;
    box-sizing: border-box;
    outline: none;
}
/*input:not([type="radio"]):focus,input:not([type="checkbox"]):focus {
    box-shadow: 0 0 5px #26f;
}*/
form > div > label,
form > div > input,
form > div > span {
    display: inline-block;
    vertical-align: middle;
}
/* 必填的字段标记 */
form > div > span.required {
    margin-left: 6px;
    font-size: 1.2rem;
    color: #fa4343;
}
/* 字段标签 */
label:not([for]) {
    width: 100px;
    text-align: right;
}
/* 单选按钮 */
input[type="radio"],input[type="checkbox"] {
    width: 16px;
    height: 16px;
    outline: none;
}
/* 下拉菜单 */
select {
    width: 340px;
    padding: 6px;
    border: 1px solid #aaa;
    border-radius: 3px;
    font-size: 18px;
    color: #666;
    outline: none;
}
/* 个人简介 */
textarea {
    width: 340px; height: 133px;
    padding: 4px;
    line-height: 1.4;
    color: #666;
    box-sizing: border-box;
    outline: none;
}
/* 提交按钮组 */
.submitForm {
    text-align: center;
    margin-top: 30px;
}
.submitForm button {
    width: 106px; height: 32px;
    background-color: #f3f4f5;
    border: 1px solid #999;
    border-radius: 3px;
    font: 20px "微软雅黑";
    color: #555;
    cursor: pointer;
    outline: none;
}
.submitForm button:hover {
    background-color: #fff;
    color: #777;
}
.submitForm button:active {
    background-color: #f3f4f5;
    color: #444;
}
.submitForm button[type="reset"] {
    margin-left: 50px;
}
.self-describe label,
.self-describe textarea {
    vertical-align: top;
}
.self-describe label {
    position: relative;
}
